package com.xin.di.uav.user.order.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("orders")
public class OrderPO {

    private String id;

    private String orderNo;


    private String transactionId;

    private Integer quantity;

    private BigDecimal unitPrice;

    private BigDecimal totalAmount;


    private String serviceArea;

    private String userId;

    private Integer status;

    @Schema(description = "无人机编码")
    private String pickUpCode;

    private Date createdAt;

    private Date updatedAt;

    private String payPhone;

    private String receiveName;

    private String placementPointId;

    private BigDecimal expressFee;

    private BigDecimal pricePayable;

    private Date expireTime;

    private Integer platformCode;

    public String outRefundNo;

    public String refundId;

    private Date confirmPayTime;

    private Date estimatedDeliveryTime;

    private String fyOrderNo;
}
